<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver MPU9250: interface/driver_mpu9250_interface_template.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver MPU9250
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">MPU9250 full-featured driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__mpu9250__interface__template_8c_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">driver_mpu9250_interface_template.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="driver__mpu9250__interface__template_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="driver__mpu9250__interface_8h.html">driver_mpu9250_interface.h</a>&quot;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#ga828c29c3c4bcabab8f2d5a46e258b032">   46</a></span>&#160;uint8_t <a class="code" href="group__mpu9250__interface__driver.html#ga828c29c3c4bcabab8f2d5a46e258b032">mpu9250_interface_iic_init</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;{</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;}</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#ga38f8367930b9d4f6c91f007692b57db6">   58</a></span>&#160;uint8_t <a class="code" href="group__mpu9250__interface__driver.html#ga38f8367930b9d4f6c91f007692b57db6">mpu9250_interface_iic_deinit</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;{</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;}</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#ga47c6b7d290af5eab7566beec22f31d35">   74</a></span>&#160;uint8_t <a class="code" href="group__mpu9250__interface__driver.html#ga47c6b7d290af5eab7566beec22f31d35">mpu9250_interface_iic_read</a>(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;{</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;}</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#ga3c0ed7f7f0e8efcdb377e6d9565bd623">   90</a></span>&#160;uint8_t <a class="code" href="group__mpu9250__interface__driver.html#ga3c0ed7f7f0e8efcdb377e6d9565bd623">mpu9250_interface_iic_write</a>(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;{</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;}</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#gabb4c6312df6cbca9d0dbd20f7669298c">  102</a></span>&#160;uint8_t <a class="code" href="group__mpu9250__interface__driver.html#gabb4c6312df6cbca9d0dbd20f7669298c">mpu9250_interface_spi_init</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;{</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;}</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#gafecbef2fc236dbed7fe843f3dfbfe196">  114</a></span>&#160;uint8_t <a class="code" href="group__mpu9250__interface__driver.html#gafecbef2fc236dbed7fe843f3dfbfe196">mpu9250_interface_spi_deinit</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;{   </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;}</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#ga983341ffd2fc96fbf7baf5aabbf841d5">  129</a></span>&#160;uint8_t <a class="code" href="group__mpu9250__interface__driver.html#ga983341ffd2fc96fbf7baf5aabbf841d5">mpu9250_interface_spi_read</a>(uint8_t reg, uint8_t *buf, uint16_t len)</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;{</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;}</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#ga2510774a0a51efa0ef71e6b66c128924">  144</a></span>&#160;uint8_t <a class="code" href="group__mpu9250__interface__driver.html#ga2510774a0a51efa0ef71e6b66c128924">mpu9250_interface_spi_write</a>(uint8_t reg, uint8_t *buf, uint16_t len)</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;{</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;}</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#gaf19d808d558d778f688b5a286d383ec4">  154</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__mpu9250__interface__driver.html#gaf19d808d558d778f688b5a286d383ec4">mpu9250_interface_delay_ms</a>(uint32_t ms)</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;{</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;}</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">  164</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keyword">const</span> fmt, ...)</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;{</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160; </div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;}</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#gae1fdc87b6d705116bbd45cb8c4301ac5">  174</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__mpu9250__interface__driver.html#gae1fdc87b6d705116bbd45cb8c4301ac5">mpu9250_interface_receive_callback</a>(uint8_t type)</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;{</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    <span class="keywordflow">switch</span> (type)</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    {</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__basic__driver.html#gga759b7cd8b95661bfc10bb71f5ebb10e2a5030e2c21c74ff66479b79b79d6450e5">MPU9250_INTERRUPT_MOTION</a> :</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        {</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: irq motion.\n&quot;</span>);</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;            </div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        }</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__basic__driver.html#gga759b7cd8b95661bfc10bb71f5ebb10e2ae7185bca3ffebaa61271eb46d41615c9">MPU9250_INTERRUPT_FIFO_OVERFLOW</a> :</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        {</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: irq fifo overflow.\n&quot;</span>);</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;            </div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;        }</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__basic__driver.html#gga759b7cd8b95661bfc10bb71f5ebb10e2aa3fc19b2cca3bc1751ee797df869963c">MPU9250_INTERRUPT_FSYNC_INT</a> :</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;        {</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: irq fsync int.\n&quot;</span>);</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;            </div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        }</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__basic__driver.html#gga759b7cd8b95661bfc10bb71f5ebb10e2ad245c997e25ffa5c010b1206f0a183ce">MPU9250_INTERRUPT_DMP</a> :</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        {</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: irq dmp\n&quot;</span>);</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;            </div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        }</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__basic__driver.html#gga759b7cd8b95661bfc10bb71f5ebb10e2a56a52905e782fac90618ac0bd137de8c">MPU9250_INTERRUPT_DATA_READY</a> :</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        {</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: irq data ready\n&quot;</span>);</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;            </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        }</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        default :</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        {</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: irq unknown code.\n&quot;</span>);</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;            </div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;        }</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    }</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;}</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160; </div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#ga1f1b6a2b8483ea3f713465a87190fad1">  223</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__mpu9250__interface__driver.html#ga1f1b6a2b8483ea3f713465a87190fad1">mpu9250_interface_dmp_tap_callback</a>(uint8_t count, uint8_t direction)</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;{</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    <span class="keywordflow">switch</span> (direction)</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    {</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__dmp__driver.html#ggaf5052e8046a82f316c754947fa773959a2c029805c8ba66e420a6acb8dc16f1cb">MPU9250_DMP_TAP_X_UP</a> :</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        {</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: tap irq x up with %d.\n&quot;</span>, count);</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;            </div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        }</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__dmp__driver.html#ggaf5052e8046a82f316c754947fa773959a168d8cef4c61de9715617277cf153918">MPU9250_DMP_TAP_X_DOWN</a> :</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        {</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: tap irq x down with %d.\n&quot;</span>, count);</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;            </div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;        }</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__dmp__driver.html#ggaf5052e8046a82f316c754947fa773959af719e4ca69acc511987f80ac3d3caff5">MPU9250_DMP_TAP_Y_UP</a> :</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        {</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: tap irq y up with %d.\n&quot;</span>, count);</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;            </div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;        }</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__dmp__driver.html#ggaf5052e8046a82f316c754947fa773959a5cb85dce3cea177626f26a1b76e38963">MPU9250_DMP_TAP_Y_DOWN</a> :</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        {</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: tap irq y down with %d.\n&quot;</span>, count);</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;            </div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        }</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__dmp__driver.html#ggaf5052e8046a82f316c754947fa773959a728a6a6652933c6b88746bc5afd34ed4">MPU9250_DMP_TAP_Z_UP</a> :</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        {</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: tap irq z up with %d.\n&quot;</span>, count);</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;            </div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;        }</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__dmp__driver.html#ggaf5052e8046a82f316c754947fa773959a8ce0a17b98146450971875028947a9ec">MPU9250_DMP_TAP_Z_DOWN</a> :</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        {</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: tap irq z down with %d.\n&quot;</span>, count);</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;            </div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;        }</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        default :</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;        {</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: tap irq unknown code.\n&quot;</span>);</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;            </div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;        }</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    }</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;}</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160; </div>
<div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="group__mpu9250__interface__driver.html#ga103f34f973f1e0a49fb8c1eeb08f6f3d">  277</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__mpu9250__interface__driver.html#ga103f34f973f1e0a49fb8c1eeb08f6f3d">mpu9250_interface_dmp_orient_callback</a>(uint8_t orientation)</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;{</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    <span class="keywordflow">switch</span> (orientation)</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    {</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__dmp__driver.html#gga3424a4f14a735c81bc5578e9e6294371a94460180512bb346f7582ef1efbe9a0e">MPU9250_DMP_ORIENT_PORTRAIT</a> :</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;        {</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: orient irq portrait.\n&quot;</span>);</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;            </div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;        }</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__dmp__driver.html#gga3424a4f14a735c81bc5578e9e6294371aa2cd4787adb865a2f0efdde6b729d21c">MPU9250_DMP_ORIENT_LANDSCAPE</a> :</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;        {</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: orient irq landscape.\n&quot;</span>);</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;            </div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        }</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__dmp__driver.html#gga3424a4f14a735c81bc5578e9e6294371a383cb5e3ba46d3d28fa45994db180223">MPU9250_DMP_ORIENT_REVERSE_PORTRAIT</a> :</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;        {</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: orient irq reverse portrait.\n&quot;</span>);</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;            </div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        }</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="group__mpu9250__dmp__driver.html#gga3424a4f14a735c81bc5578e9e6294371a93aad7a07b4f4a28b6b1ab4d05fc5d1a">MPU9250_DMP_ORIENT_REVERSE_LANDSCAPE</a> :</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        {</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: orient irq reverse landscape.\n&quot;</span>);</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;            </div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;        }</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;        default :</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        {</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;            <a class="code" href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a>(<span class="stringliteral">&quot;mpu9250: orient irq unknown code.\n&quot;</span>);</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;            </div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        }</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    }</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;}</div>
<div class="ttc" id="adriver__mpu9250__interface_8h_html"><div class="ttname"><a href="driver__mpu9250__interface_8h.html">driver_mpu9250_interface.h</a></div><div class="ttdoc">driver mpu9250 interface header file</div></div>
<div class="ttc" id="agroup__mpu9250__basic__driver_html_gga759b7cd8b95661bfc10bb71f5ebb10e2a5030e2c21c74ff66479b79b79d6450e5"><div class="ttname"><a href="group__mpu9250__basic__driver.html#gga759b7cd8b95661bfc10bb71f5ebb10e2a5030e2c21c74ff66479b79b79d6450e5">MPU9250_INTERRUPT_MOTION</a></div><div class="ttdeci">@ MPU9250_INTERRUPT_MOTION</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00263">driver_mpu9250.h:263</a></div></div>
<div class="ttc" id="agroup__mpu9250__basic__driver_html_gga759b7cd8b95661bfc10bb71f5ebb10e2a56a52905e782fac90618ac0bd137de8c"><div class="ttname"><a href="group__mpu9250__basic__driver.html#gga759b7cd8b95661bfc10bb71f5ebb10e2a56a52905e782fac90618ac0bd137de8c">MPU9250_INTERRUPT_DATA_READY</a></div><div class="ttdeci">@ MPU9250_INTERRUPT_DATA_READY</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00267">driver_mpu9250.h:267</a></div></div>
<div class="ttc" id="agroup__mpu9250__basic__driver_html_gga759b7cd8b95661bfc10bb71f5ebb10e2aa3fc19b2cca3bc1751ee797df869963c"><div class="ttname"><a href="group__mpu9250__basic__driver.html#gga759b7cd8b95661bfc10bb71f5ebb10e2aa3fc19b2cca3bc1751ee797df869963c">MPU9250_INTERRUPT_FSYNC_INT</a></div><div class="ttdeci">@ MPU9250_INTERRUPT_FSYNC_INT</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00265">driver_mpu9250.h:265</a></div></div>
<div class="ttc" id="agroup__mpu9250__basic__driver_html_gga759b7cd8b95661bfc10bb71f5ebb10e2ad245c997e25ffa5c010b1206f0a183ce"><div class="ttname"><a href="group__mpu9250__basic__driver.html#gga759b7cd8b95661bfc10bb71f5ebb10e2ad245c997e25ffa5c010b1206f0a183ce">MPU9250_INTERRUPT_DMP</a></div><div class="ttdeci">@ MPU9250_INTERRUPT_DMP</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00266">driver_mpu9250.h:266</a></div></div>
<div class="ttc" id="agroup__mpu9250__basic__driver_html_gga759b7cd8b95661bfc10bb71f5ebb10e2ae7185bca3ffebaa61271eb46d41615c9"><div class="ttname"><a href="group__mpu9250__basic__driver.html#gga759b7cd8b95661bfc10bb71f5ebb10e2ae7185bca3ffebaa61271eb46d41615c9">MPU9250_INTERRUPT_FIFO_OVERFLOW</a></div><div class="ttdeci">@ MPU9250_INTERRUPT_FIFO_OVERFLOW</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00264">driver_mpu9250.h:264</a></div></div>
<div class="ttc" id="agroup__mpu9250__dmp__driver_html_gga3424a4f14a735c81bc5578e9e6294371a383cb5e3ba46d3d28fa45994db180223"><div class="ttname"><a href="group__mpu9250__dmp__driver.html#gga3424a4f14a735c81bc5578e9e6294371a383cb5e3ba46d3d28fa45994db180223">MPU9250_DMP_ORIENT_REVERSE_PORTRAIT</a></div><div class="ttdeci">@ MPU9250_DMP_ORIENT_REVERSE_PORTRAIT</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00485">driver_mpu9250.h:485</a></div></div>
<div class="ttc" id="agroup__mpu9250__dmp__driver_html_gga3424a4f14a735c81bc5578e9e6294371a93aad7a07b4f4a28b6b1ab4d05fc5d1a"><div class="ttname"><a href="group__mpu9250__dmp__driver.html#gga3424a4f14a735c81bc5578e9e6294371a93aad7a07b4f4a28b6b1ab4d05fc5d1a">MPU9250_DMP_ORIENT_REVERSE_LANDSCAPE</a></div><div class="ttdeci">@ MPU9250_DMP_ORIENT_REVERSE_LANDSCAPE</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00486">driver_mpu9250.h:486</a></div></div>
<div class="ttc" id="agroup__mpu9250__dmp__driver_html_gga3424a4f14a735c81bc5578e9e6294371a94460180512bb346f7582ef1efbe9a0e"><div class="ttname"><a href="group__mpu9250__dmp__driver.html#gga3424a4f14a735c81bc5578e9e6294371a94460180512bb346f7582ef1efbe9a0e">MPU9250_DMP_ORIENT_PORTRAIT</a></div><div class="ttdeci">@ MPU9250_DMP_ORIENT_PORTRAIT</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00483">driver_mpu9250.h:483</a></div></div>
<div class="ttc" id="agroup__mpu9250__dmp__driver_html_gga3424a4f14a735c81bc5578e9e6294371aa2cd4787adb865a2f0efdde6b729d21c"><div class="ttname"><a href="group__mpu9250__dmp__driver.html#gga3424a4f14a735c81bc5578e9e6294371aa2cd4787adb865a2f0efdde6b729d21c">MPU9250_DMP_ORIENT_LANDSCAPE</a></div><div class="ttdeci">@ MPU9250_DMP_ORIENT_LANDSCAPE</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00484">driver_mpu9250.h:484</a></div></div>
<div class="ttc" id="agroup__mpu9250__dmp__driver_html_ggaf5052e8046a82f316c754947fa773959a168d8cef4c61de9715617277cf153918"><div class="ttname"><a href="group__mpu9250__dmp__driver.html#ggaf5052e8046a82f316c754947fa773959a168d8cef4c61de9715617277cf153918">MPU9250_DMP_TAP_X_DOWN</a></div><div class="ttdeci">@ MPU9250_DMP_TAP_X_DOWN</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00471">driver_mpu9250.h:471</a></div></div>
<div class="ttc" id="agroup__mpu9250__dmp__driver_html_ggaf5052e8046a82f316c754947fa773959a2c029805c8ba66e420a6acb8dc16f1cb"><div class="ttname"><a href="group__mpu9250__dmp__driver.html#ggaf5052e8046a82f316c754947fa773959a2c029805c8ba66e420a6acb8dc16f1cb">MPU9250_DMP_TAP_X_UP</a></div><div class="ttdeci">@ MPU9250_DMP_TAP_X_UP</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00470">driver_mpu9250.h:470</a></div></div>
<div class="ttc" id="agroup__mpu9250__dmp__driver_html_ggaf5052e8046a82f316c754947fa773959a5cb85dce3cea177626f26a1b76e38963"><div class="ttname"><a href="group__mpu9250__dmp__driver.html#ggaf5052e8046a82f316c754947fa773959a5cb85dce3cea177626f26a1b76e38963">MPU9250_DMP_TAP_Y_DOWN</a></div><div class="ttdeci">@ MPU9250_DMP_TAP_Y_DOWN</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00473">driver_mpu9250.h:473</a></div></div>
<div class="ttc" id="agroup__mpu9250__dmp__driver_html_ggaf5052e8046a82f316c754947fa773959a728a6a6652933c6b88746bc5afd34ed4"><div class="ttname"><a href="group__mpu9250__dmp__driver.html#ggaf5052e8046a82f316c754947fa773959a728a6a6652933c6b88746bc5afd34ed4">MPU9250_DMP_TAP_Z_UP</a></div><div class="ttdeci">@ MPU9250_DMP_TAP_Z_UP</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00474">driver_mpu9250.h:474</a></div></div>
<div class="ttc" id="agroup__mpu9250__dmp__driver_html_ggaf5052e8046a82f316c754947fa773959a8ce0a17b98146450971875028947a9ec"><div class="ttname"><a href="group__mpu9250__dmp__driver.html#ggaf5052e8046a82f316c754947fa773959a8ce0a17b98146450971875028947a9ec">MPU9250_DMP_TAP_Z_DOWN</a></div><div class="ttdeci">@ MPU9250_DMP_TAP_Z_DOWN</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00475">driver_mpu9250.h:475</a></div></div>
<div class="ttc" id="agroup__mpu9250__dmp__driver_html_ggaf5052e8046a82f316c754947fa773959af719e4ca69acc511987f80ac3d3caff5"><div class="ttname"><a href="group__mpu9250__dmp__driver.html#ggaf5052e8046a82f316c754947fa773959af719e4ca69acc511987f80ac3d3caff5">MPU9250_DMP_TAP_Y_UP</a></div><div class="ttdeci">@ MPU9250_DMP_TAP_Y_UP</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250_8h_source.html#l00472">driver_mpu9250.h:472</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_ga103f34f973f1e0a49fb8c1eeb08f6f3d"><div class="ttname"><a href="group__mpu9250__interface__driver.html#ga103f34f973f1e0a49fb8c1eeb08f6f3d">mpu9250_interface_dmp_orient_callback</a></div><div class="ttdeci">void mpu9250_interface_dmp_orient_callback(uint8_t orientation)</div><div class="ttdoc">interface dmp orient callback</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00277">driver_mpu9250_interface_template.c:277</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_ga15e531f463207b6917de60a4e3354ddd"><div class="ttname"><a href="group__mpu9250__interface__driver.html#ga15e531f463207b6917de60a4e3354ddd">mpu9250_interface_debug_print</a></div><div class="ttdeci">void mpu9250_interface_debug_print(const char *const fmt,...)</div><div class="ttdoc">interface print format data</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00164">driver_mpu9250_interface_template.c:164</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_ga1f1b6a2b8483ea3f713465a87190fad1"><div class="ttname"><a href="group__mpu9250__interface__driver.html#ga1f1b6a2b8483ea3f713465a87190fad1">mpu9250_interface_dmp_tap_callback</a></div><div class="ttdeci">void mpu9250_interface_dmp_tap_callback(uint8_t count, uint8_t direction)</div><div class="ttdoc">interface dmp tap callback</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00223">driver_mpu9250_interface_template.c:223</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_ga2510774a0a51efa0ef71e6b66c128924"><div class="ttname"><a href="group__mpu9250__interface__driver.html#ga2510774a0a51efa0ef71e6b66c128924">mpu9250_interface_spi_write</a></div><div class="ttdeci">uint8_t mpu9250_interface_spi_write(uint8_t reg, uint8_t *buf, uint16_t len)</div><div class="ttdoc">interface spi bus write</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00144">driver_mpu9250_interface_template.c:144</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_ga38f8367930b9d4f6c91f007692b57db6"><div class="ttname"><a href="group__mpu9250__interface__driver.html#ga38f8367930b9d4f6c91f007692b57db6">mpu9250_interface_iic_deinit</a></div><div class="ttdeci">uint8_t mpu9250_interface_iic_deinit(void)</div><div class="ttdoc">interface iic bus deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00058">driver_mpu9250_interface_template.c:58</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_ga3c0ed7f7f0e8efcdb377e6d9565bd623"><div class="ttname"><a href="group__mpu9250__interface__driver.html#ga3c0ed7f7f0e8efcdb377e6d9565bd623">mpu9250_interface_iic_write</a></div><div class="ttdeci">uint8_t mpu9250_interface_iic_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)</div><div class="ttdoc">interface iic bus write</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00090">driver_mpu9250_interface_template.c:90</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_ga47c6b7d290af5eab7566beec22f31d35"><div class="ttname"><a href="group__mpu9250__interface__driver.html#ga47c6b7d290af5eab7566beec22f31d35">mpu9250_interface_iic_read</a></div><div class="ttdeci">uint8_t mpu9250_interface_iic_read(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)</div><div class="ttdoc">interface iic bus read</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00074">driver_mpu9250_interface_template.c:74</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_ga828c29c3c4bcabab8f2d5a46e258b032"><div class="ttname"><a href="group__mpu9250__interface__driver.html#ga828c29c3c4bcabab8f2d5a46e258b032">mpu9250_interface_iic_init</a></div><div class="ttdeci">uint8_t mpu9250_interface_iic_init(void)</div><div class="ttdoc">interface iic bus init</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00046">driver_mpu9250_interface_template.c:46</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_ga983341ffd2fc96fbf7baf5aabbf841d5"><div class="ttname"><a href="group__mpu9250__interface__driver.html#ga983341ffd2fc96fbf7baf5aabbf841d5">mpu9250_interface_spi_read</a></div><div class="ttdeci">uint8_t mpu9250_interface_spi_read(uint8_t reg, uint8_t *buf, uint16_t len)</div><div class="ttdoc">interface spi bus read</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00129">driver_mpu9250_interface_template.c:129</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_gabb4c6312df6cbca9d0dbd20f7669298c"><div class="ttname"><a href="group__mpu9250__interface__driver.html#gabb4c6312df6cbca9d0dbd20f7669298c">mpu9250_interface_spi_init</a></div><div class="ttdeci">uint8_t mpu9250_interface_spi_init(void)</div><div class="ttdoc">interface spi bus init</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00102">driver_mpu9250_interface_template.c:102</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_gae1fdc87b6d705116bbd45cb8c4301ac5"><div class="ttname"><a href="group__mpu9250__interface__driver.html#gae1fdc87b6d705116bbd45cb8c4301ac5">mpu9250_interface_receive_callback</a></div><div class="ttdeci">void mpu9250_interface_receive_callback(uint8_t type)</div><div class="ttdoc">interface receive callback</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00174">driver_mpu9250_interface_template.c:174</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_gaf19d808d558d778f688b5a286d383ec4"><div class="ttname"><a href="group__mpu9250__interface__driver.html#gaf19d808d558d778f688b5a286d383ec4">mpu9250_interface_delay_ms</a></div><div class="ttdeci">void mpu9250_interface_delay_ms(uint32_t ms)</div><div class="ttdoc">interface delay ms</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00154">driver_mpu9250_interface_template.c:154</a></div></div>
<div class="ttc" id="agroup__mpu9250__interface__driver_html_gafecbef2fc236dbed7fe843f3dfbfe196"><div class="ttname"><a href="group__mpu9250__interface__driver.html#gafecbef2fc236dbed7fe843f3dfbfe196">mpu9250_interface_spi_deinit</a></div><div class="ttdeci">uint8_t mpu9250_interface_spi_deinit(void)</div><div class="ttdoc">interface spi bus deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__mpu9250__interface__template_8c_source.html#l00114">driver_mpu9250_interface_template.c:114</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_b31d54d5631803016a26f28213a41162.html">interface</a></li><li class="navelem"><a class="el" href="driver__mpu9250__interface__template_8c.html">driver_mpu9250_interface_template.c</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
